<?php
/* SVN FILE: $Id: search_controller.php 619 2007-08-05 13:15:15Z mariano $ */
/**
 * Short description for file.
 *
 * Long description for file
 *
 * PHP versions 4 and 5
 *
 * Cake Bakery
 *
 * Copyright (c) 2006,	Cake Software Foundation, Inc.
 * 							1785 E. Sahara Avenue, Suite 490-204
 * 							Las Vegas, Nevada 89104
 *
 * Licensed under the CAKE SOFTWARE FOUNDATION LICENSE(CSFL) version 1.0
 * Redistributions of files must retain the above copyright notice.
 * You may not use this file except in compliance with the License.
 *
 * You may obtain a copy of the License at:
 * License page: http://www.cakefoundation.org/licenses/csfl/
 * Copyright page: http://www.cakefoundation.org/copyright/
 *
 * @filesource
 * @copyright		Copyright (c) 2006, Cake Software Foundation, Inc.
 * @link				http://www.cakefoundation.org/projects/info/cakephp CakePHP Project
 * @package			bakery
 * @subpackage		bakery.controllers
 * @since			Bakery v 1.0.0.0
 * @version			$Revision: 619 $
 * @modifiedby		$LastChangedBy: mariano $
 * @lastmodified	$Date: 2007-08-05 22:15:15 +0900 (日, 05 8 2007) $
 * @license			http://www.cakefoundation.org/licenses/csfl/  The CSFL License
 */
/**
 * Short description for file.
 *
 * Long description for file
 *
 * @package		bakery
 * @subpackage	bakery.controllers
 * @since		Bakery v 1.0.0.0
 *
 */
class SearchController extends AppController
{
	var $name = 'Search';

	function __notDone() {

		$types = explode($this->data['Search']['type']);
		$words = explode($this->data['Search']['words']);
		$this->set('results', $this->Search->find($types, $words));

	}

}
?>